/*
    Copyright 2009 Barnet Wagman

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 */

package ot.s3;

/**
 *
 * @author Barnet Wagman
 */
public class ConstantsOtS3 {

        // --------- S3 Error codes -------------------

        // This is NOT a complete list

    public static String S3_ERROR_CODE_NO_SUCH_BUCKET = "NoSuchBucket";
    public static String S3_ERROR_CODE_NO_SUCH_KEY = "NoSuchKey";
    public static String S3_ERROR_BUCKET_ALREADY_EXISTS = "BucketAlreadyExists";
    public static String S3_ERROR_ENTITY_TOO_LARGE = "EntityTooLarge";


            // ---------- Constants -----------------------

    public static int MAX_TRIES_DEFAULT = 4;
    public static long RETRY_INTERVAL_MILLIS_DEFAULT = 500L;   
    public static int MAX_RESET_COUNT = 8;
}
